var t = new(require("../../../utils/http").HTTP);
Page({
  data: {
    list: []
  },

  onLoad: function () {
    var e = this,
      a = wx.getStorageSync("user");
    t.request({
      url: "https://www.qlsyyun.com:3000/record/zsy",
      data: {
        zsy: a[0]
      }
    }).then((function (t) {
      if (0 == t.data.length)
        wx.showToast({
          title: "暂无跟进情况",
          icon: "none",
          duration: 500,
          success: function () {
            setTimeout((function () {
              wx.navigateBack({
                delta: 1
              })
            }), 500)
          }
        });
      else {
        var a = t.data;
        e.setData({
          list: a
        })
      }
    }))
  },
  funExpertitem: function (t) {
    var e = t.currentTarget.dataset.bean.bID;
    wx.navigateTo({
      url: "/pages/record/record/record?bID=" + e
    })
  }
});